.class Lrexsee/dialog/RexseeButtonDialog$1;
.super Ljava/lang/Object;
.source "RexseeButtonDialog.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/dialog/RexseeButtonDialog;->show(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/dialog/RexseeButtonDialog;

.field private final synthetic val$dialogId:Ljava/lang/String;

.field private final synthetic val$menus:[Lrexsee/core/menu/PopMenu;

.field private final synthetic val$style:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/dialog/RexseeButtonDialog;Ljava/lang/String;Ljava/lang/String;[Lrexsee/core/menu/PopMenu;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    iput-object p2, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$dialogId:Ljava/lang/String;

    iput-object p3, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$style:Ljava/lang/String;

    iput-object p4, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$menus:[Lrexsee/core/menu/PopMenu;

    .line 60
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lrexsee/dialog/RexseeButtonDialog$1;)Lrexsee/dialog/RexseeButtonDialog;
    .locals 1

    .prologue
    .line 60
    iget-object v0, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 6

    .prologue
    .line 64
    :try_start_0
    new-instance v0, Lrexsee/dialog/ButtonDialog;

    iget-object v2, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    # getter for: Lrexsee/dialog/RexseeButtonDialog;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/dialog/RexseeButtonDialog;->access$0(Lrexsee/dialog/RexseeButtonDialog;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v3, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$dialogId:Ljava/lang/String;

    iget-object v4, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$style:Ljava/lang/String;

    iget-object v5, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$menus:[Lrexsee/core/menu/PopMenu;

    invoke-direct {v0, v2, v3, v4, v5}, Lrexsee/dialog/ButtonDialog;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;[Lrexsee/core/menu/PopMenu;)V

    .line 65
    .local v0, "dialog":Lrexsee/dialog/ButtonDialog;
    new-instance v2, Lrexsee/dialog/RexseeButtonDialog$1$1;

    iget-object v3, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$dialogId:Ljava/lang/String;

    invoke-direct {v2, p0, v3}, Lrexsee/dialog/RexseeButtonDialog$1$1;-><init>(Lrexsee/dialog/RexseeButtonDialog$1;Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Lrexsee/dialog/ButtonDialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 72
    invoke-virtual {v0}, Lrexsee/dialog/ButtonDialog;->start()V

    .line 73
    iget-object v2, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    # getter for: Lrexsee/dialog/RexseeButtonDialog;->mMap:Ljava/util/HashMap;
    invoke-static {v2}, Lrexsee/dialog/RexseeButtonDialog;->access$1(Lrexsee/dialog/RexseeButtonDialog;)Ljava/util/HashMap;

    move-result-object v2

    iget-object v3, p0, Lrexsee/dialog/RexseeButtonDialog$1;->val$dialogId:Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 77
    .end local v0    # "dialog":Lrexsee/dialog/ButtonDialog;
    :goto_0
    iget-object v2, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    const/4 v3, 0x1

    invoke-static {v2, v3}, Lrexsee/dialog/RexseeButtonDialog;->access$2(Lrexsee/dialog/RexseeButtonDialog;Z)V

    .line 78
    return-void

    .line 74
    :catch_0
    move-exception v2

    move-object v1, v2

    .line 75
    .local v1, "e":Ljava/lang/Exception;
    iget-object v2, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    # getter for: Lrexsee/dialog/RexseeButtonDialog;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/dialog/RexseeButtonDialog;->access$0(Lrexsee/dialog/RexseeButtonDialog;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v3, p0, Lrexsee/dialog/RexseeButtonDialog$1;->this$0:Lrexsee/dialog/RexseeButtonDialog;

    invoke-virtual {v3}, Lrexsee/dialog/RexseeButtonDialog;->getInterfaceName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, v1}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method
